<template>
  <form action="#" v-throttle:submit="{ delay: 3000, handler: onSubmit }">
    <input type="text" />
    <input type="password" />
    <button>submit</button>
  </form>

  <button v-throttle:click="{ delay: 3000, handler: onClick }">click me</button>
</template>

<script setup>
const onSubmit = (e) => console.log("onSubmit");
const onClick = (e) => console.log("onClick");
</script>

<style lang="scss" scoped></style>
